import { IsEmail, IsNotEmpty } from 'class-validator';

class EmailDto {
  @IsEmail()
  @IsNotEmpty()
  email: string; // 邮箱
}

export default EmailDto;
